<?php
$this->breadcrumbs=array(
	'Projects',
);

$this->menu=array(
	array('label'=>'Create Project','url'=>array('create')),
	array('label'=>'Manage Project','url'=>array('admin')),
);
?>

<h1>Projects</h1>

<?php $this->widget('bootstrap.widgets.TbGridView',array(
	'dataProvider'=>$dataProvider,
	'columns'=>array(
        array('name'=>'id', 'header'=>'#'),
        array('name'=>'name_en', 'header'=>'English Name'),
        array('name'=>'name_th', 'header'=>'Thai Name'),
        array('name'=>'activeFlag', 'header'=>'Active'),
        array(
            'class'=>'bootstrap.widgets.TbButtonColumn',
            'htmlOptions'=>array('style'=>'width: 50px'),
        ),
    ),
)); ?>
